/**
 * 
 */
package com.sybase.test.compare;

import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.util.Map;

import com.sybase.uep.eis.ResultSetFilter;
import com.sybase.uep.eis.ResultSetFilterMetaData;
import java.util.HashMap;

/**
 * @author qiangz
 *
 */
public class FirstFilter implements ResultSetFilter, ResultSetFilterMetaData {

	/* (non-Javadoc)
	 * @see com.sybase.uep.eis.ResultSetFilterMetaData#getMetaData(java.sql.ResultSetMetaData, java.util.Map)
	 */
	@Override
	public ResultSetMetaData getMetaData(ResultSetMetaData arg0,
			Map<String, Object> arg1) throws Exception {
				return arg0;
			}

	/* (non-Javadoc)
	 * @see com.sybase.uep.eis.ResultSetFilter#filter(java.sql.ResultSet, java.util.Map)
	 */
	@Override
	public ResultSet filter(ResultSet arg0, Map<String, Object> arg1)
			throws Exception {
				return arg0;
			}

	/* (non-Javadoc)
	 * @see com.sybase.uep.eis.ResultSetFilter#getArguments()
	 */
	@Override
	public Map<String, Class> getArguments() {
		return new HashMap<String, Class>();
	}

}
